<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<link href="/web/css/bootstrap/bootstrap.min.css" rel="stylesheet">
<link href="/web/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/web/css/global.css">
<link href="css/safebox.css" rel="stylesheet">
<link href="css/filelist.css" rel="stylesheet">
<link rel="stylesheet" href="/web/css/ui.css">

<script src="/web/js/jquery/jquery.min.js"></script>
<script src="/web/js/bootstrap/bootstrap.min.js"></script>
<script src="/web/js/jquery_rest.js"></script>
<script src="/web/js/ebeim.js"></script>
<script src="/web/js/global.js"></script>
<script src="js/safebox.js"></script>
<script src="/web/js/jquery/jquery.icheck.min.js"></script>
</head>
<body>
	<input type="hidden" id="h_path" />
	<input type="hidden" id="h_ab_path" />
	<input type="hidden" id="h_dsId" />
	<input type="hidden" id="h_is_directory" />
	<input type="hidden" id="h_is_ban" />
	<input type="hidden" id="h_nid" />
	<div class="z-container">
		<div class="z-header">
			<span>我的保险箱</span>
			<button onclick="download()" class="btn btn-success">下载&nbsp;<i class="fa fa-download"></i></button>
			<button id="upload" onclick="upload()" class="btn btn-success">上传&nbsp;<i class="fa fa-upload"></i></button>
			<button class="btn btn-success show-add">添加&nbsp;<i class="fa fa-plus"></i></button>
			<button onclick="backPre()" class="btn btn-success">返回&nbsp;<i class="fa fa-mail-reply"></i></button>
		</div>
		<div class="z-safedate">
			<ul>
				<li style="width:100%;text-align: center;height:350px;line-height:350px">正在加载...</li>
			</ul>
		</div>
		<div class="z-footer">
			提示:单击选中，双击进入文件夹
		</div>
	</div>
	
<div class="shadowDiv" id="addSafeData_shadowDiv"></div>
<div class="dialogDiv" id="addSafeData">
	<div class="dialogTipDiv">&nbsp;<span class="dialogTipContentSpan">添加保险数据</span></div>
	<div class="dialogContentDiv">
		<ul>
			<li>
				保险数据路径:
				<input class="input input-large" type="text" id="s_path" disabled="disabled" />
				<button class="btn btn-success" onclick="selectSafeDataPath('')">选择</button>
			</li>
			<li style="height:30px">
				<div style="float:left;width:90px;">
					需要key:
				</div>
				<div style="float:left;width:60px;">
					<input class="j-checkbox" style="float:left;" type="checkbox" id="dsNeedKey" />
				</div>
				<div style="float:left;width:100px;">
					需要动态码:
				</div>
				<div style="float:left;width:30px;">
					<input class="j-checkbox" style="float:left;" type="checkbox" id="dsNeedCode" />
				</div>
			</li>
			<li style="height:30px">
				<div style="float:left;width:90px;">
					是否加密:
				</div>
				<div style="float:left;width:30px;">
					<input checked="checked" class="j-checkbox" style="float:left;" type="checkbox" id="isEncrypt" />
				</div>
			</li>
		</ul>
	</div>
	<div class="dialogOprtDiv">
		<button onclick="hideDialog('addSafeData')" class="btn btn-default">取消</button>
		<button id="save" onclick="save();" class="btn btn-success">确定</button>
	</div>
</div>


<div class="window" id="safeDataWindow">
	<div class="w-head">
		<table width="90%" height="40px" align="center">
			<tr>
				<td width="15%" >当前路径</td>
				<td id="ab-dir" width="65%" style="background:#fff;" ></td>
				<td width="20%" style="text-align:center"><button class="btn btn-default" onclick="selectParentPath()">返回上一级</button></td>
			</tr>
		</table>
	</div>
	<div class="w-dir-list">
		<ul>
		</ul>
	</div>
	<div class="w-dir-confirm">
		<button class="btn btn-success" onclick="confirmDir()">确定</button>
		<button class="btn btn-default" onclick="cancelDir()">取消</button>
	</div>
</div>

<div class="window" id="recoveryWindow">
	<div class="w-head">
		<table width="90%" height="40px" align="center">
			<tr>
				<td width="20%" >数据恢复至<input type="hidden" id="h_r_path" /></td>
				<td id="ab-recovery-dir" width="60%" style="background:#fff;text-overflow:ellipsis;overflow:hidden" ></td>
				<td width="20%" style="text-align:center"><button class="btn btn-default" onclick="selectRecoveryParentPath()">返回上一级</button></td>
			</tr>
		</table>
	</div>
	<div class="w-dir-list">
		<ul>
		</ul>
	</div>
	<div class="w-dir-confirm">
		<button class="btn btn-success" onclick="confirmRecoveryDir()">确定</button>
		<button class="btn btn-default" onclick="cancelRecoveryDir()">取消</button>
	</div>
</div>

<div class="modal fade" id="myModal" tabindex="-1" role="dialog" style="max-height:500px;overflow-y:auto" 
   aria-labelledby="myModalLabel" aria-hidden="true">
   <div class="modal-dialog">
      <div class="modal-content">
         <div class="modal-header">
            <button type="button" class="close" 
               data-dismiss="modal" aria-hidden="true">
                  &times;
            </button>
            <h4 class="modal-title" id="myModalLabel">
             点击获取验证码，系统将向您的手机发送验证码。
            </h4>
         </div>
         <div class="modal-body" id="modal-body" style="text-align: center;">
            <input style="margin-right:15px;" class="input input-large" type="text" id="dynamicCode"/>
            <button id="sendCodeBtn" onclick="send()" class="btn btn-success">获取验证码</button>
         </div>
         <div class="modal-footer">
            <!-- <button type="button" class="btn btn-default" 
               data-dismiss="modal">关闭
            </button> -->
            <button id="submit" onclick="confirmCode(this)" oprt="" type="button" class="btn btn-primary">
              确定
            </button>
         </div>
      </div><!-- /.modal-content -->
	</div>
</div>

<div class="shadowDiv" id="versionWindow_shadowDiv"></div>
<div class="dialogDiv" id="versionWindow" style="width:450px;height:350px">
	<div class="dialogTipDiv">提示<span class="dialogTipContentSpan">信息</span></div>
	<div class="dialogContentDiv" style="height:250px;overflow-y:auto;">
		<ul class="filechangelog-ul"></ul>
	</div>
	<div class="dialogOprtDiv">
		<!-- <button onclick=";" class="btn green">确定</button> -->
		<button onclick="hideDialog('versionWindow')" class="btn btn-default">取消</button>
	</div>
</div>

<div class="shadowDiv" id="tips_shadowDiv" style="z-index: 1999;"></div>
<div class="dialogDiv" id="tips" style="z-index: 2000;">
	<div class="dialogTipDiv">提示<span class="dialogTipContentSpan">信息</span></div>
	<div class="dialogContentDiv" style="text-align: center;">
	</div>
</div>
</body>
</html>